'''
Created on May 28, 2012
@author: michal
'''

import utils.utils as utils
import logging
import re
import subprocess


class shell (object):
    def __init__(self):
        self.config = utils.readConfig()
        self.logger = logging.getLogger('automatic.shell')
    
    def runCommand(self, command, outputfile='', use_shell):
        self.logger.debug('Section parameters %s, %s, %s' % (command, outputfile, use_shell))
        process = subprocess.Popen(command, shell=use_shell, stdout) 
        
        
             
 
                
            
        
        
             
        
    
